package com.itheima.tlias84.service;

import com.itheima.tlias84.dto.SelectAllDeptDTO;
import com.itheima.tlias84.entity.Dept;
import com.itheima.tlias84.po.InsertDeptParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
public interface DeptService {



    int updateDeptById( Dept dept);

    List<SelectAllDeptDTO> selectAll();

    int insertDept(InsertDeptParam param);

    int deleteById(  Integer id);
    SelectAllDeptDTO selectDeptById( Integer id);

}
